CurrentProjectComponent 

HOME INDEX SEARCH GO  

 <<O>>  Difference Topic CurrentProjectComponent (r1.16 - 24 Dec 2007 - EdwardNorton)
Changed:
<
<

>
>


 <<O>>  Difference Topic CurrentProjectComponent (r1.15 - 10 Dec 2002 - AlexeyEfimov)
Changed:
<
<

%META:TOPICPARENT{name="Main.PhantomPlugins"}%

>
>

%META:TOPICPARENT{name="Trash.PhantomPlugins"}%

Changed:
<
<

CurrentProjectComponent?

>
>

Main.Trash.CurrentProjectComponent

Changed:
<
<

See Also: PhantomPlugins?

>
>

See Also: PhantomPlugins

Changed:
<
<

It's very simple ApplicationComponent and ProjectManagerAdapter?. some times you needed to get current project, just call to this component. I think that in feature this class will depricate, but now API for this expected.

>
>

It's very simple ApplicationComponent and ProjectManagerAdapter. some times you needed to get current project, just call to this component. I think that in feature this class will depricate, but now API for this expected.

Changed:
<
<

    • If multi project has avaible then only one of projects may be current. Otherwise the project level components come to unstable, becose it's have a constructor with project parameter. I think that will be a workspace. In this workspace where are projects, but only one project may be selected at one time. I wrong? So ProjectManagerListener? has changes - add one new method selectedProject. So, then it avaible i will rewrite the code and this new code will set current project in method selectedProject. I think that multi project support in IntelliJ be is a another gui for existing code - Recently Used Projects algoritm. But maybe i wrong. And i also guess, that currentProject must be geted via open API.
>
>

    • If multi project has avaible then only one of projects may be current. Otherwise the project level components come to unstable, becose it's have a constructor with project parameter. I think that will be a workspace. In this workspace where are projects, but only one project may be selected at one time. I wrong? So ProjectManagerListener has changes - add one new method selectedProject. So, then it avaible i will rewrite the code and this new code will set current project in method selectedProject. I think that multi project support in IntelliJ be is a another gui for existing code - Recently Used Projects algoritm. But maybe i wrong. And i also guess, that currentProject must be geted via open API.
Changed:
<
<

%META:FILEATTACHMENT{name="Plugins.Main.CurrentProjectComponent.java" attr="h" comment="" date="1024407908" path="D:\TEMP\Plugins.Main.CurrentProjectComponent.java" size="1047" user="Main.AlexeyEfimov" version="1.1"}%

>
>

%META:FILEATTACHMENT{name="Plugins.Main.Trash.CurrentProjectComponent.java" attr="h" comment="" date="1024407908" path="D:\TEMP\Plugins.Main.Trash.CurrentProjectComponent.java" size="1047" user="Main.AlexeyEfimov" version="1.1"}%

Changed:
<
<

%META:TOPICMOVED{by="AlexeyEfimov" date="1030368414" from="Plugins.CurrentProjectComponent" to="Main.CurrentProjectComponent"}%

>
>

%META:TOPICMOVED{by="AlexeyEfimov" date="1039535969" from="Main.CurrentProjectComponent" to="Trash.CurrentProjectComponent"}%


 <<O>>  Difference Topic CurrentProjectComponent (r1.14 - 26 Aug 2002 - AlexeyEfimov)
Changed:
<
<

%META:TOPICPARENT{name="Plugins.PhantomPlugins"}%

>
>

%META:TOPICPARENT{name="Main.PhantomPlugins"}%

Changed:
<
<

CurrentProjectComponent

>
>

CurrentProjectComponent?

Changed:
<
<

See Also: PhantomPlugins?

>
>

See Also: PhantomPlugins?

Changed:
<
<

%META:FILEATTACHMENT{name="Plugins.CurrentProjectComponent.java" attr="h" comment="" date="1024407908" path="D:\TEMP\Plugins.CurrentProjectComponent.java" size="1047" user="Main.AlexeyEfimov" version="1.1"}%

>
>

%META:FILEATTACHMENT{name="Plugins.Main.CurrentProjectComponent.java" attr="h" comment="" date="1024407908" path="D:\TEMP\Plugins.Main.CurrentProjectComponent.java" size="1047" user="Main.AlexeyEfimov" version="1.1"}%

Changed:
<
<

%META:TOPICMOVED{by="AlexeyEfimov" date="1024577871" from="Main.CurrentProjectComponent" to="Plugins.CurrentProjectComponent"}%

>
>

%META:TOPICMOVED{by="AlexeyEfimov" date="1030368414" from="Plugins.CurrentProjectComponent" to="Main.CurrentProjectComponent"}%


 <<O>>  Difference Topic CurrentProjectComponent (r1.13 - 26 Jul 2002 - AlexeyEfimov)
Changed:
<
<

See Also: PhantomPlugins?, SystemPropertiesView?, OneInstance?

>
>

See Also: PhantomPlugins?


 <<O>>  Difference Topic CurrentProjectComponent (r1.12 - 23 Jul 2002 - AlexeyEfimov)
Added:
>
>

This plugin currently is depricated. This one have no good idea to track for "current project" now, becose build since #630 have a multiproject support by SDI notation. This plugin may used only in previos build #629.


 <<O>>  Difference Topic CurrentProjectComponent (r1.11 - 27 Jun 2002 - AlexeyEfimov)
Added:
>
>

    • If multi project has avaible then only one of projects may be current. Otherwise the project level components come to unstable, becose it's have a constructor with project parameter. I think that will be a workspace. In this workspace where are projects, but only one project may be selected at one time. I wrong? So ProjectManagerListener? has changes - add one new method selectedProject. So, then it avaible i will rewrite the code and this new code will set current project in method selectedProject. I think that multi project support in IntelliJ be is a another gui for existing code - Recently Used Projects algoritm. But maybe i wrong. And i also guess, that currentProject must be geted via open API. -- AlexeyEfimov - 27 Jun 2002

 <<O>>  Difference Topic CurrentProjectComponent (r1.10 - 27 Jun 2002 - MikeAizatsky)
Added:
>
>

  • How do you consider this to be working with multi project support? -- MikeAizatsky - 27 Jun 2002

 <<O>>  Difference Topic CurrentProjectComponent (r1.9 - 25 Jun 2002 - AlexeyEfimov)
Changed:
<
<

CurrentProjectComponent?

>
>

CurrentProjectComponent


See Also: PhantomPlugins?, SystemPropertiesView?, OneInstance?

Description

Changed:
<
<

Back to PhantomPlugins?

>
>

Back to top

Changed:
<
<


Hmm, I would be carefull using this. Take a look at the Project Singleton.
>
>

Back to top

Changed:
<
<

JohannesSchneider - 24 Jun 2002

>
>

Discussion

Added:
>
>

Changed:
<
<

Latest version

>
>

Back to top

Download

Changed:
<
<

-- AlexeyEfimov - 20 Jun 2002

>
>

Back to top

Instalation

Download this plugin. Copy phantom-plugins-currentProject.jar into $IDEA_HOME$/plugins directory.

Back to top

-- AlexeyEfimov - 25 Jun 2002


 <<O>>  Difference Topic CurrentProjectComponent (r1.8 - 24 Jun 2002 - AlexeyEfimov)
Changed:
<
<

Hmm, I would be carefull using this. Take a look at the PluginDocumentation -- Project-Singleton.

>
>

Hmm, I would be carefull using this. Take a look at the Project Singleton.


 <<O>>  Difference Topic CurrentProjectComponent (r1.7 - 24 Jun 2002 - AlexeyEfimov)
Changed:
<
<

Hmm, I would be carefull using this. Take a look at the PluginDocumentation? -- Project-Singleton.

>
>

Hmm, I would be carefull using this. Take a look at the PluginDocumentation -- Project-Singleton.


 <<O>>  Difference Topic CurrentProjectComponent (r1.6 - 24 Jun 2002 - JohannesSchneider)
Added:
>
>


Hmm, I would be carefull using this. Take a look at the PluginDocumentation? -- Project-Singleton.

JohannesSchneider - 24 Jun 2002


 <<O>>  Difference Topic CurrentProjectComponent (r1.5 - 21 Jun 2002 - AlexeyEfimov)
Changed:
<
<

Project project = CurrentProjectComponent.getCurrentProject();

>
>

Project project = CurrentProjectComponent.getProject();


 <<O>>  Difference Topic CurrentProjectComponent (r1.4 - 20 Jun 2002 - AlexeyEfimov)
Changed:
<
<

%META:TOPICPARENT{name="PhantomPlugins"}%

CurrentProjectComponent

>
>

%META:TOPICPARENT{name="Plugins.PhantomPlugins"}%

CurrentProjectComponent?

Changed:
<
<

It's very simple ApplicationComponent and ProjectManagerAdapter. some times you needed to get current project, just call to this component. I think that in feature this class will depricate, but now API for this expected.

>
>

It's very simple ApplicationComponent and ProjectManagerAdapter?. some times you needed to get current project, just call to this component. I think that in feature this class will depricate, but now API for this expected.

Changed:
<
<

Back to PhantomPlugins

>
>

Back to PhantomPlugins?

Changed:
<
<

%META:FILEATTACHMENT{name="CurrentProjectComponent.java" attr="h" comment="" date="1024407908" path="D:\TEMP\CurrentProjectComponent.java" size="1047" user="AlexeyEfimov" version="1.1"}% %META:FILEATTACHMENT{name="currentProject.zip" attr="h" comment="currentProject.zip" date="1024559847" path="D:\TEMP\plugins\phantom-plugins\plugins\currentProject.zip" size="10099" user="AlexeyEfimov" version="1.1"}%

>
>

%META:FILEATTACHMENT{name="Plugins.CurrentProjectComponent.java" attr="h" comment="" date="1024407908" path="D:\TEMP\Plugins.CurrentProjectComponent.java" size="1047" user="Main.AlexeyEfimov" version="1.1"}% %META:FILEATTACHMENT{name="currentProject.zip" attr="h" comment="currentProject.zip" date="1024559847" path="D:\TEMP\plugins\phantom-plugins\plugins\currentProject.zip" size="10099" user="Main.AlexeyEfimov" version="1.1"}% %META:TOPICMOVED{by="AlexeyEfimov" date="1024577871" from="Main.CurrentProjectComponent" to="Plugins.CurrentProjectComponent"}%


 <<O>>  Difference Topic CurrentProjectComponent (r1.3 - 20 Jun 2002 - AlexeyEfimov)
Changed:
<
<

It's very simple ApplicationComponent and ProjectManagerAdapter. some times you needed to get current project, just call to this component.

>
>

CurrentProjectComponent

Changed:
<
<

I think that in feature this class will depricate, but now API for this expected.

>
>

It's very simple ApplicationComponent and ProjectManagerAdapter. some times you needed to get current project, just call to this component. I think that in feature this class will depricate, but now API for this expected.

Changed:
<
<

CurrentProjectComponent cpc = (CurrentProjectComponent)ApplicationManager.getApplication().getComponent(CurrentProjectComponent);
<nop>
>
>

Back to PhantomPlugins

Changed:
<
<

Project project = cpc.getCurrentProject();

>
>

Using

try {
  Project project = CurrentProjectComponent.getCurrentProject();
<nop>
Added:
>
>

} catch (ComponentNotFoundException? ex) { log.error(ex); }

Changed:
<
<

-- AlexeyEfimov - 17 Jun 2002

>
>

Latest version

-- AlexeyEfimov - 20 Jun 2002

Added:
>
>

%META:FILEATTACHMENT{name="currentProject.zip" attr="h" comment="currentProject.zip" date="1024559847" path="D:\TEMP\plugins\phantom-plugins\plugins\currentProject.zip" size="10099" user="AlexeyEfimov" version="1.1"}%


 <<O>>  Difference Topic CurrentProjectComponent (r1.2 - 18 Jun 2002 - AlexeyEfimov)
Added:
>
>

%META:FILEATTACHMENT{name="CurrentProjectComponent.java" attr="h" comment="" date="1024407908" path="D:\TEMP\CurrentProjectComponent.java" size="1047" user="AlexeyEfimov" version="1.1"}%


 <<O>>  Difference Topic CurrentProjectComponent (r1.1 - 17 Jun 2002 - AlexeyEfimov)
Added:
>
>

%META:TOPICINFO{author="AlexeyEfimov" date="1024301531" format="1.0" version="1.1"}% %META:TOPICPARENT{name="PhantomPlugins"}% It's very simple ApplicationComponent and ProjectManagerAdapter. some times you needed to get current project, just call to this component.

I think that in feature this class will depricate, but now API for this expected.

CurrentProjectComponent cpc = (CurrentProjectComponent)ApplicationManager.getApplication().getComponent(CurrentProjectComponent);

Project project = cpc.getCurrentProject();
if (project == null) {
  // No project opened
} else {
  // Some operation with project
}

-- AlexeyEfimov - 17 Jun 2002


View | Diffs | r1.16 | > | r1.15 | > | r1.14 | More

e d i t a t t a c h r e f - b y d i f f s
Ideas,requests,problems regarding this site? Send feedback.
Copyright @ 2000-2003 by the contribution authors. All material on this collaboration tool is the property of the contributing authors.

Revision r1.1 - 17 Jun 2002 - 08:12 GMT - AlexeyEfimov
Revision r1.16 - 24 Dec 2007 - 10:21 GMT - EdwardNorton
Copyright © 2000-2003 by the contributing authors. All materials at intellij.org are the property of the contributing authors.