Class PropertiesTypeFactory
- java.lang.Object
-
- editor.plugin.typeloader.properties.PropertiesTypeFactory
-
- All Implemented Interfaces:
ITypeFactory
public class PropertiesTypeFactory extends Object implements ITypeFactory
-
-
Constructor Summary
Constructors Constructor Description PropertiesTypeFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAddBreakpoint(IType type, int line)
boolean
canCreate()
String
createNewFileContents(INewFileParams params)
String
getFileExtension()
String
getIcon()
IIssueContainer
getIssueContainer(EditorHost editor)
String
getName()
String
getTooltipMessage(int iPos, EditorHost editor)
String
getTypeAtOffset(IType type, int offset)
PropertiesFileParams
makeDefaultParams(String fqn)
StyledEditorKit
makeEditorKit()
JComponent
makePanel(INewFileParams params)
void
parse(IType type, String strText, boolean forceCodeCompletion, boolean changed, EditorHost editor)
-
-
-
Method Detail
-
canCreate
public boolean canCreate()
- Specified by:
canCreate
in interfaceITypeFactory
-
getFileExtension
public String getFileExtension()
- Specified by:
getFileExtension
in interfaceITypeFactory
-
getName
public String getName()
- Specified by:
getName
in interfaceITypeFactory
-
getIcon
public String getIcon()
- Specified by:
getIcon
in interfaceITypeFactory
-
makeDefaultParams
public PropertiesFileParams makeDefaultParams(String fqn)
- Specified by:
makeDefaultParams
in interfaceITypeFactory
-
createNewFileContents
public String createNewFileContents(INewFileParams params)
- Specified by:
createNewFileContents
in interfaceITypeFactory
-
makePanel
public JComponent makePanel(INewFileParams params)
- Specified by:
makePanel
in interfaceITypeFactory
-
makeEditorKit
public StyledEditorKit makeEditorKit()
- Specified by:
makeEditorKit
in interfaceITypeFactory
-
parse
public void parse(IType type, String strText, boolean forceCodeCompletion, boolean changed, EditorHost editor)
- Specified by:
parse
in interfaceITypeFactory
-
canAddBreakpoint
public boolean canAddBreakpoint(IType type, int line)
- Specified by:
canAddBreakpoint
in interfaceITypeFactory
-
getTypeAtOffset
public String getTypeAtOffset(IType type, int offset)
- Specified by:
getTypeAtOffset
in interfaceITypeFactory
-
getTooltipMessage
public String getTooltipMessage(int iPos, EditorHost editor)
- Specified by:
getTooltipMessage
in interfaceITypeFactory
-
getIssueContainer
public IIssueContainer getIssueContainer(EditorHost editor)
- Specified by:
getIssueContainer
in interfaceITypeFactory
-
-