|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jac.ide.Gui
Gui methods for the menus.
Constructor Summary | |
Gui()
|
Method Summary | |
static void |
edit(Attachment attachment,
DisplayContext context)
|
static void |
editWith(Attachment attachment,
DisplayContext context,
String editor)
|
static String |
getAttachmentIcon(Attachment attachment)
|
static Collection |
getAvailableClasses(ModelElement element)
Returns all classes which belong to the same project as a given member. |
static Collection |
getAvailableTypes(ModelElement element)
Returns all types which belong to the same project as a given member. |
static Collection |
getMatchingTypes(ModelElement element,
String search)
Returns types with a given short name |
protected static Project |
getProject(ModelElement element)
Gets the project an element belongs to |
static Object |
getType(FieldItem field,
Attachment attachment)
|
static void |
invalidateCache()
|
protected static void |
setLookAndFeel(LookAndFeel look)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Gui()
Method Detail |
protected static void setLookAndFeel(LookAndFeel look) throws UnsupportedLookAndFeelException
UnsupportedLookAndFeelException
protected static Project getProject(ModelElement element)
element
- the element whose projet to returnpublic static Collection getAvailableTypes(ModelElement element)
element
- the elementgetAvailableClasses(ModelElement)
,
getMatchingTypes(ModelElement,String)
public static Collection getMatchingTypes(ModelElement element, String search)
public static Collection getAvailableClasses(ModelElement element)
element
- the elementgetAvailableTypes(ModelElement)
,
getMatchingTypes(ModelElement,String)
public static void invalidateCache()
public static void edit(Attachment attachment, DisplayContext context) throws IOException
IOException
public static void editWith(Attachment attachment, DisplayContext context, String editor) throws IOException
IOException
public static Object getType(FieldItem field, Attachment attachment)
public static String getAttachmentIcon(Attachment attachment)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |