| java.lang.Object org.netbeans.modules.uml.core.metamodel.profiles.ProfileManager
ProfileManager | public class ProfileManager (Code) | | author: sumitabhk |
ProfileManager | public ProfileManager()(Code) | | |
createStandAloneProfile | protected ETPairT<String, IProfile> createStandAloneProfile(IProject proj)(Code) | | Creates a new Profile that exists in its own file. Where that file is
placed is preference driven.
proj[in] The IProject we are querying against. Used to establish a location |
createStandAloneProfile | protected ETPairT<Document, IProfile> createStandAloneProfile(String frag)(Code) | | Creates a Profile object and places it in the XML document that will be created
from the fragment passed in.
frag[in] The XML fragment that will house the Profile |
determineProfileLocation | protected String determineProfileLocation(IProject proj, ICoreProduct prod, String value)(Code) | | Determines the location of a new Profile given the preference value passed in.
proj[in] Could be used to anchor the location with the Project prod[in] Could be used to determine the default configuration location value[in] The preference value. Should be "PSK_IN_PROJECT_PROFILE" or "PSK_IN_CENTRAL_PROFILE", otherwise, no location will be retrieved |
establishNewStereotype | public Object establishNewStereotype(IElement context, String name)(Code) | | Creates a new Stereotype with the given name. Dependent on preference settings, that stereotype
will be placed in a Profile that is then imported by the Project that owns context.
context[in] Used to retrieve the IProject that will have the potentially new Profile injected into it stereotypeName[in] The name of the new stereotype newStereotype[out] The newly created Stereotype HRESULT |
retrieveAutoCreatedProfile | protected ETTripleT<String, IProfile, Boolean> retrieveAutoCreatedProfile(IProject proj)(Code) | | Retrieves the imported Profile from the Project, else creates one if it is not there.a
proj[in] The IProject we are querying against ETTripleT returns an object of href, profile and the success of this method |
|
|